<?php
namespace app\admin\controller;

use think\Controller;
use think\Session;
use think\Db;

class Logout extends Controller
{
	public function index()
	{
		Session::delete('Adminname');
	    Session::delete('AdminId');
	    Session::delete('Adminpower');
	    $this->success('退出登陆成功!','../admin');
	}
}